$page->including( $including );
// Execute special page
- $profName = 'Special:' . $page->getName();
+ $profName = 'Special:' . $page->name();
wfProfileIn( $profName );
$page->execute( $par );
wfProfileOut( $profName );
$uniq_prefix = $this->mUniqPrefix;
$matches = array();
$elements = array_keys( $this->mTransparentTagHooks );
- $text = self::extractTagsAndParams( $elements, $text, $matches, $uniq_prefix );
+ $text = $this->extractTagsAndParams( $elements, $text, $matches, $uniq_prefix );
foreach ( $matches as $marker => $data ) {
list( $element, $content, $params, $tag ) = $data;
* @return String: URL to access thumbnail, or URL with partial path
*/
public function getThumbUrl( $thumbName = false ) {
- return self::getSpecialUrl( $thumbName );
+ return $this->getSpecialUrl( $thumbName );
}
/**
*/
public function getUrl() {
if ( !isset( $this->url ) ) {
- $this->url = self::getSpecialUrl( $this->getUrlName() );
+ $this->url = $this->getSpecialUrl( $this->getUrlName() );
}
return $this->url;
}